package com.ssi.dao.security.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.stereotype.Repository;

import com.ssi.dao.security.IClientSecurityDao;
import com.ssi.entity.core.ClientSecurity;

@Repository("clientSecurityDao")
public class ClientSecurityDaoImpl implements IClientSecurityDao {

	@Autowired
	@Qualifier("sqlMapClientTemplate")
	SqlMapClientTemplate sqlMapClientTemplate;

	public List<ClientSecurity> queryForList() {
		return sqlMapClientTemplate.queryForList("clientSecurityNameSpace.selectClientSecurity");
	}
	
}
